package org.dromara.system.service;

import org.dromara.system.domain.WbGoodsListInfo;
import org.dromara.system.domain.vo.GzhUserVo;
import org.dromara.system.domain.vo.WbGoodsListInfoVo;
import org.dromara.system.domain.bo.WbGoodsListInfoBo;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.common.mybatis.core.page.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 货物清单Service接口
 *
 * @author Lion Li
 * @date 2024-04-26
 */
public interface IWbGoodsListInfoService {

    /**
     * 查询货物清单
     */
    WbGoodsListInfoVo queryById(Long id);

    /**
     * 查询货物清单列表
     */
    TableDataInfo<WbGoodsListInfoVo> queryPageList(WbGoodsListInfoBo bo, PageQuery pageQuery);

    /**
     * 查询货物清单列表
     */
    List<WbGoodsListInfoVo> queryList(WbGoodsListInfoBo bo);

    /**
     * 新增货物清单
     */
    Boolean insertByBo(WbGoodsListInfoBo bo);

    /**
     * 修改货物清单
     */
    Boolean updateByBo(WbGoodsListInfoBo bo);

    /**
     * 校验并批量删除货物清单信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);

    TableDataInfo<WbGoodsListInfoVo> queryPageGoodsList(WbGoodsListInfoBo bo, PageQuery pageQuery);


    List<WbGoodsListInfoVo> queryCountList(Long id);
}
